package com.yonyou.brigade.third_parties.didi.util;

/**
 * 滴滴常量
 *
 * @author Administrator
 */
public class DiDiConstants {

    public static final String DIDI_HOST = "https://api.es.xiaojukeji.com";

    public static final String KEY_CLIENT_ID = "client_id";
    public static final String KEY_ACCESS_TOKEN = "access_token";
    public static final String KEY_TIMESTAMP = "timestamp";
    public static final String KEY_COMPANY_ID = "company_id";
    public static final String KEY_GRANT_TYPE = "grant_type";
    public static final String KEY_CLIENT_SECRET = "client_secret";
    public static final String KEY_PHONE = "phone";
    public static final String KEY_SIGN = "sign";
    //发票内容（*运输服务*客运服务费） 此为唯一默认值，不能变更
    public static final String KEY_INVOICE_CONTENT = "invoice_content";
    public static final String KEY_INVOICE_CONTENT_VALUE = "*运输服务*客运服务费";

    /**
     * 开始日期（如：2015-05-01）
     */
    public static final String KEY_START_DATE = "start_date";
    /**
     * 结束日期（如：2015-05-28）
     */
    public static final String KEY_END_DATE = "end_date";
    public static final String KEY_OFFSET = "offset";
    public static final String KEY_LENGTH = "length";
    public static final String KEY_ORDER_ID = "order_id";
    /**
     * 叫车人手机号
     */
    public static final String KEY_CALL_PHONE = "call_phone";
    /**
     * 支付方式（0企业支付 1个人垫付 2混合支付）
     */
    public static final String KEY_PAY_TYPE = "pay_type";
    /**
     * 开票状态（1：开过 0：未开）
     */
    public static final String KEY_IS_INVOICE = "is_invoice";
    /**
     * 发票号
     */
    public static final String KEY_INVOICE_ID = "invoice_id";
    /**
     * 用车方式（1:出租车，2:专车，3:快车，4:代驾，5:豪华车
     */
    public static final String KEY_USE_CAR_TYPE = "use_car_type";

    public static final String CHAR_SET = "gb2312";
    public static final String METHOD_POST_ACCESSTOKEN = "/river/Auth/authorize";
    public static final String METHOD_POST_USERADD = "/river/Member/add";
    public static final String METHOD_GET_USER_QUERY = "/river/Member/get";
    public static final String METHOD_POST_USER_UPDATE = "/river/Member/edit";
    public static final String METHOD_POST_USER_DELETE = "/river/Member/del";
    public static final String METHOD_POST_USER_SINGLE_ADD = "/river/Member/single";
    public static final String METHOD_GET_ORDERQUERY = "/river/Order/get";
    public static final String METHOD_GET_ORDERDETAILQUERY = "/river/Order/detail";
    public static final String METHOD_POST_OPENAUTHTOKEN = "/openauth/Service/getToken";

    public static final String METHOD_GET_TICKET = "/advancepay/Ticket/fetch";

    /**
     * 发票相关接口
     */
    public static final String METHOD_GET_INVOICE_TITLE_QUERY = "/river/Invoice/getTitleList";
    public static final String METHOD_GET_INVOICE_QUALIFICATION = "/river/Invoice/getQualification";
    public static final String METHOD_POST_INVOICE_APPLY = "/river/Invoice/apply";
    public static final String METHOD_POST_INVOICE_CHARGE = "/river/Invoice/charge";
    public static final String METHOD_GET_INVOICE_GET = "/river/Invoice/get";
    public static final String METHOD_GET_INVOICE_DOWNLOAD = "/river/Invoice/download";

    public static final String GRANT_TYPE = "client_credentials";

    public static final String DATA = "data";

    public static final String PLAT_CLIENT_ID = "8a73d4f4b54a0665fa6b7bf817d1e6c3";
    public static final String PLAT_CLIENT_SECRET = "38628a42e24ae49633c3c64bb03badd8";
    public static final String PLAT_SIGNKEY = "4def0F843d5c44E62e89";
    public static final String PLAT_PHONE = "15210674658";

    public static final String CAR_MONGO_ORDER_TABLENAME = "didi_car_orders";

    public static final String DOWNLOAD_TYPE_INVOICE = "发票";
    public static final String DOWNLOAD_TYPE_ITINERARY = "行程单";

}
